#include<stdio.h>
#include	<string.h>
#include"head.h"
int mybash(char *arglist[]);
int test1()
{
char **test[10];
test[0][0]="ls";
test[0][1]="-l";
test[0][2]=0;

/*char *test1[10],*test2[10],*test3[10],*test4[10],*test5[10],*test6[10];
test1[0]="ls";
test1[1]="-l";
test1[2]=0;

test2[0]="od";
test2[1]="-tc";
test2[2]="-tx1";
test2[3]="123.txt";
test2[4]=0;

test3[0]="mkdir";
test3[1]="success";
test3[2]=0;

test4[0]="git";
test4[1]="add";
test4[2]=".";
test4[3]=0;

test5[0]="git";
test5[1]="commit";
test5[2]="-m";
test5[3]="\"test11\"";
test5[4]=0;

test6[0]="git";
test6[1]="push";
test6[2]="origin";
test6[3]="master";
test6[4]=0;

int flag=0;
if(flag=mybash(test1)==1)printf("\n%s %s test Success!\n",test1[0],test1[1]);

flag=0;
if(flag=mybash(test2)==1)printf("\n%s %s %s %s test Success!\n",test2[0],test2[1],test2[2],test2[3]);

flag=0;
if(flag=mybash(test3)==1)printf("\n%s %s test Success!\n",test3[0],test3[1]);

flag=0;
if(flag=mybash(test4)==1)printf("\n%s %s %s test Success!\n",test4[0],test4[1],test4[2]);

flag=0;
if(flag=mybash(test5)==1)printf("\n%s %s %s %s test Success!\n",test5[0],test5[1],test5[2],test5[3]);

flag=0;
if(flag=mybash(test6)==1)printf("\n%s %s %s %s test Success!\n",test6[0],test6[1],test6[2],test6[3]);*/

return 0;
}
